#ifndef WXPOINTS_H
#define WXPOINTS_H

#include <wx/dynarray.h>

struct XYZ
{
    double x, y, z;
};

WX_DECLARE_OBJARRAY(XYZ, XYZArray);

class wxPoints
{
public:
    wxPoints();

    virtual ~wxPoints();

    wxPoints(const wxPoints& other);

    int count() const;

    void addPoint(XYZ point);

    XYZ* getPoint(long unsigned int index) const;

    XYZ* operator[] (const long unsigned int index);

    void clear();

private:
    XYZArray arr;
};

#endif // WXPOINTS_H
